package com.xdjj.market.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xdjj.market.dao.EmployeeMapper;
import com.xdjj.market.pojo.Employee;

public interface EmployeeService {
    Page findEmployeeListPage(Employee searchData, int currentPage, int pageSize);
    Employee findEmpolyeeByAccountAndPassword(String account,String password);
    Employee findEmployeeByAccount(String account);
    void saveEmployee(Employee employee);
    void updateEmployee(Employee employee);
    void deleteEmployeeById(String id);
    boolean updatePwdByAccount(Employee employee);
}
